using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using OgilvyOne.Model;

namespace OgilvyOne.IDAL
{
    public interface IStaffInfo
    {
        // Methods
        bool addScoreStaff(string strStaffId, string ruleId, string score);
        void Delete(int Member_UID);
        IList getMember_data(int Member_UID);
        StaffInfoInfo getStaffInfo(int staffId);
        StaffInfoInfo getStaffInfo(string staffCode, string password);
        int getStaffInfoCount(string staffCode);
        IList getStaffList(StaffInfoInfo info);
        StaffInfoInfo getStaffSession();
        void Insert(StaffInfoInfo acc);
        void InsertLoginLog(int staffId, string ip);
        int isFirstLogin(string staffCode);
        void Update(StaffInfoInfo acc);
        void Update_Member(StaffInfoInfo acc);
        void UpdateLoginLog(int staffId, string ip);
        void UpdateSkin(int staffId, int skin);
        int UpdateStaffInfo(StaffInfoInfo staffInfoInfo);
        int UpdateStaffPasswd(int staffId, string newPasswd, string oldPasswd, string email);

    }

}
